﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="goods_trash.aspx.cs" Inherits="WebSite.admin.product.goods_trash" %>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head2" runat="server">
    <title>福利点点通 </title>
    <link href="../css/skin.css" rel="stylesheet" type="text/css" />
       <script src="../js/common.js" type="text/javascript"></script>


</head>
<body>
    <form id="form2" runat="server">

     <ext:PageManager ID="PageManager1" runat="server" />

           <ext:SimpleForm ID="extForm1" runat="server" BodyPadding="5px"   
            EnableBackgroundColor="false" Title="评论列表"  ShowHeader="true" >
              <Items>
            <ext:Panel ID="Panel2" ShowHeader="false"  CssClass="x-form-item" ShowBorder="false" Layout="Column" runat="server">
             <Items>

            <ext:Label ID="lblKeywords"  Width="60px"    runat="server" Text="&nbsp;&nbsp;关键字："></ext:Label>
            <ext:TextBox runat="server" ID="txtKeywords"   MaxLength="100" Label="关键字" ></ext:TextBox>
                   <ext:Button ID="btnSearch" Text="搜索"  CssClass="mleft mright" runat="server" 
                     OnClick="btnSearch_Click"></ext:Button>
                  </Items>
         </ext:Panel>

     </Items>
     
   </ext:SimpleForm>
         <ext:Panel ID="Panel8" ShowBorder="True" ShowHeader="false" BoxFlex="1"  CssClass="x-form-item"  Layout="Fit"
                runat="server">
                <Toolbars>

                    <ext:Toolbar ID="Toolbar2" runat="server">
                        <Items>
                   <ext:Button ID="btnBrachDeleted" runat="server" Text="批量删除"  OnClick="btnBrachDeleted_Click"    
                   ConfirmTarget="self" ConfirmText="确定要删除选中的商品吗？"></ext:Button>
                     <ext:Button ID="btnBrachRestore" runat="server" Text="批量还原"  OnClick="btnBrachRestore_Click" 
                    ConfirmTarget="self" ConfirmText="确定要还原选中的商品吗？" >
                 </ext:Button>
                  <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                            </ext:ToolbarSeparator>
               
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                <Items>
    </Items>
    </ext:Panel>
     <ext:Grid ID="Grid1" Title="查询结果" PageSize="50" ShowBorder="false"       
         CssClass="x-form-item"   AllowPaging="true" SortColumn="goodsName" SortDirection="ASC"    OnPageIndexChange="Grid1_PageIndexChange"      
         ShowHeader="False" runat="server" EnableCheckBoxSelect="True"   
         AllowSorting="true"    IsDatabasePaging="false"    DataKeyNames="goodsId" OnSort="Grid1_Sort"   EnableRowNumber="True">
        <Columns>
               <ext:BoundField Width="200px" ColumnID="goodsName" DataField="goodsName" SortField="goodsName" DataFormatString="{0}" HeaderText="商品名称" />
              <ext:BoundField Width="100px" DataField="goodsCode" SortField="goodsCode" DataFormatString="{0}" HeaderText="货号" />
              <ext:BoundField Width="100px" DataField="changePoints" SortField="changePoints" DataFormatString="{0}" HeaderText="福点数" />
                      

         <ext:LinkButtonField ConfirmText="确定要删除吗？" ConfirmTarget="Top" ColumnID="lbfAction1"
                Width="50px" CommandName="deleted" Text="[删除]" HeaderText="删除" />
           <ext:LinkButtonField ConfirmText="确定要还原吗？" ConfirmTarget="Top" ColumnID="lbfAction1"
                Width="50px" CommandName="restore" Text="[还原]" HeaderText="还原" />

        </Columns>
    </ext:Grid>


    </form>
</body>
</html>

